package com.gxa.modules.payment.mapper;

import com.gxa.modules.payment.entity.MeterCycle;
import com.gxa.modules.payment.form.MeterCycleForm;
import com.gxa.modules.payment.form.MeterCycleQueryForm;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface MeterCycleMapper {
    List<MeterCycle> queryByPage(Map<String,Object> params);

    String queryByCellName(Integer cycleId);

    void addMeterCycle(MeterCycleForm meterCycleForm);

    List<MeterCycleQueryForm> queryMeterDetails(Integer cycleId,Integer page,Integer limit);

    Integer queryCount(Integer cycleId);

    void deleteMeterCycle(Integer id);

    void deleteMeterCycleIds(List<Integer> ids);
}
